package com.actionpals.net
{
	import flash.net.URLVariables;

	public dynamic class URLVariables extends flash.net.URLVariables
	{
		public function URLVariables( source:String=null )
		{
			super( source );
		}
		
		public function has( name:String ):Boolean
		{
			if( !this[ name ] ) return false
			else return true;
		}
		
		public function add( urlVariable:URLVariable ):void
		{
			this[ urlVariable.name ] = urlVariable.value;
		}
		
		public function remove( name:String ):void
		{
			delete( this[ name ] );
		}
		
	}
}